#ifndef		__AWindow__
#define		__AWindow__

#include	<ncurses.h>

class	AWindow
{
public:
  unsigned int	getHeightWin()const { return this->_height; }
  unsigned int	getWidthtWin()const { return this->_width; }
  WINDOW	*getWindow() { return this->_win; }

public:
  virtual void	update(bool focus) = 0;
  virtual void	checkEvent(int event) =0;

protected:
  unsigned int		_height;
  unsigned int		_width;
  WINDOW		*_win;
};

#endif
